﻿@using OBUCare.Core.Models;
@using OBUCare.Core.Common;
@using OBUCare.Web.Infrastructure
@{
    List<NavigationData> navItems = new List<NavigationData>() 
    {
        new NavigationData("流水单管理","/Transaction/Index"),
        new NavigationData("发票管理","/Invoice/Index")
    
    };
    
    Html.Telerik().PanelBar()
        .Name("PanelTransaction")
        .BindTo(navItems, (item, navdata) =>
        {
            item.Text = navdata.Text;
            item.Url = navdata.NavigateUrl;
            item.Expanded = navdata.Expanded;
            item.Visible = UIUtility.CheckAccessRight(navdata.NavigateUrl);
        }).Render();
}